package com.rest.response;

import java.util.List;

/**
 * Created by HP on 2020/3/2.
 */

public class PrescriptionResponse extends BaseResponse {

    public BaseData data;


    public static class BaseData {
        public MedicalConcentDTO medicalConcentDTO;
        public String auditor;
        public String mouldName;
        public String diagnoseId;
        public String diagnoseResult;
        public String passTime;
        public String patientCondition;
        public String prescriptionId;
        public String reject;
        public String remark;
        public int status;
        public String preAppend;
        public String icd;
        public String tailAppend;
        public String preAppendId;
        public String icdId;
        public String tailAppendId;
        //  审核状态：0未审核，1审核通过 2驳回
        public List<Prescription> westernList;

        public List<Second> secondList;


        public String url;

        public int isChildren;

        public int pFlag;

        public int flag;//处方状态0等待审核1审核通过2患者已支付
        public String pFlagStr;

        public int type;
    }

    public static class Prescription {
        public String drugChannel;
        public String drugDose;
        public String drugFrequency;
        public String drugNumber;
        public String name;
        public String code;
        public String drugUsing;
        public String westernId;
        public String totalExpense;
        public String expense; //价格
        public String dosageUnit;
        public String drugPosition;
        public String specialUnit;
        public String drugFrequencyCode;
        public String drugChannelCode;

    }

    public static class MedicalConcentDTO {
        public String zs;
        public String xbs;
        public String jws;
        public String gms;
        public String patientId;
        public String diagnoseId;
        public String medicalId;
        public String special; //专项检查
        public String diagnoseResult;//医生意见
        public List<Second> diagnoseDetails; //主次诊断信息
    }

    public static class Second {

        public String preAppendId;
        public String preAppendName;//前缀名称
        public String diagnoseName;//诊断名称
        public String tailAppendName;//tailAppendName
        public String icdId;
        public String tailAppendId; //后缀Id
        public String isMain; //是否主诊断（1是，0否）
    }
}
